projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97896e6
)
Notify the user if we errors when querying for registered git files
author
Emilio Lopes
<eclig@gmx.net>
Thu, 13 Aug 2020 08:01:00 +0000
(10:01 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 13 Aug 2020 08:01:00 +0000
(10:01 +0200)
* lisp/vc/vc-git.el (vc-git-registered): Notify the user when
something fails here (bug#18481).
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index e0cf9e795956671693b54243ce6a0f153b0bf3b1..78a2fa0879511ce6914887fa49c874dc118434fd 100644
(file)
--- a/
lisp/vc/vc-git.el
+++ b/
lisp/vc/vc-git.el
@@
-243,7
+243,7
@@
toggle display of the entire list."
;; path specs.
;; See also: http://marc.info/?l=git&m=125787684318129&w=2
(name (file-relative-name file dir))
- (str (
ignore-errors
+ (str (
with-demoted-errors "Error: %S"
(cd dir)
(vc-git--out-ok "ls-files" "-c" "-z" "--" name)
;; If result is empty, use ls-tree to check for deleted